package com.ant.cn.appa.activities;

import android.view.View;
import android.widget.Button;

import com.ant.cn.appa.R;
import com.ant.cn.mylibrary.base.BaseActivity;

/**
 * Created by baichuan on 2016/11/10.
 */
public class UserLoginActivity extends BaseActivity implements View.OnClickListener {
    private Button obt, obt2;


    @Override
    public int getLaout() {
        return R.layout.activity_main;
    }

    @Override
    public void initView() {
        obt = (Button) findViewById(R.id.ac_main_obt_01);
        obt2 = (Button) findViewById(R.id.ac_main_obt_02);
    }

    @Override
    public void initData() {

    }

    @Override
    public void initListener() {
        obt.setOnClickListener(this);
        obt2.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.ac_main_obt_01:
                jump2other("www.ant.cn.app01.test");
                break;
            case R.id.ac_main_obt_02:
                jump2other("www.ant.cn.app01.test01");
                return;
        }
    }
}
